<template>
  <van-search
    class="search"
    shape="round"
    v-model="value"
    placeholder="热搜产品：Mistine"
    input-align="center"
    @click="jump"
  />
</template>

<script>
import { ref } from "vue";
import { useRouter } from "vue-router";
export default {
  setup() {
    const value = ref("");
    const router = useRouter();
    const jump = () => {
      router.push("/searchb");
    };
    return {
      value,
      jump,
    };
  },
};
</script>

<style lang="less" scoped>
.search {
  margin-top: 65px;
}
</style>
